﻿@using System.Web.Mvc.Html
@inherits Umbraco.Web.Mvc.UmbracoViewPage<Lu.Blog.Models.GridViewModel>
@if (Model.Items.Any())
{
    <ul id="filter-buttons">
        <li><a href="#" data-filter="*" class="selected">@Umbraco.GetDictionaryValue("Afficher_tout").ToLower()</a></li>
        @foreach (var item in Model.Items)
        {
            <li><a href="#" data-filter=".@(item.Key.Replace(" ", String.Empty).ToLower())">@item.Key.ToLower()</a></li>
        }
    </ul>

    @Html.Partial("GridView", Model)
}